<template>
	<view class="mymap">
		<web-view :src="myurl"></web-view>
		 
	</view>
</template>

<script>
	export default {
		data() {
			return {
			myurl:'',
			}
		},
		
		  onLoad (options) {
			  //  console.log('optionsoptionsoptions',options)
			 let lsdata = JSON.parse(options.shipInfo)  
			    console.log('lsdatalsdatalsdatalsdata',lsdata)
			  let authorization =uni.getStorageSync('access_token') || '';
			  		
				
					this.myurl = 'https://i.ringzle.com/h5/#/Satelliteimage?lineNum='+lsdata.lineNum
					+'&sx='+lsdata.sx+'&authorization='+authorization+'&startPortNo='+lsdata.startPortNo+'&endPortNo='+lsdata.endPortNo;
				
				
				  console.log('111111111111111111',this.myurl)
		   
		    },
		methods: {
			
		}
	}
</script>

<style>
 /* #ifdef H5 */
 /* 页面A */
 uni-page[data-page="pages/touristMap/index"] .uni-page-head-hd {
	display: none;
 }
 /* #endif */
/* #ifdef H5 */ 
    uni-page-head { 
        display: none; 
    } 
/* #endif */

.mymap{
	width: 100%;
	 height:calc(100vh - 45px);
}
</style>
